<template>
  <div>
    <el-button type="primary" class="action" @click="addList"
      >添加用户</el-button
    >
    <el-button type="danger">删除选中</el-button>
  </div>
</template>

<script>
export default {
  name: "AddUser",
  methods: {
    addList() {
      this.$router.history.push("/user/add");
    },
  },
};
</script>

<style>
.action {
  margin: 0 20px !important;
}
</style>